# !/usr/bin/sh

if [ ! -f {{ db.path }}/dm.ini ]; then
  exit 6
fi

cd {{ dmdb_common.install_path }}/bin

case "$1" in
start)
  ./dbserver path={{ db.path }}/dm.ini